unit TOper;

interface

uses
  Windows, Classes, SysUtils, uDataTransferObject, uBasicDAOAdapter;

type
  TOperVO = class(TDataTransferObject)
  private
    FOperId: string;
    FOperName: string;
    FRoleId: string;
    FStaffId:String;
    FDeptId:String;
    FPwd:String;
    FCreateDate:String;
    FStatus:String;
    FCreOperId:String;
    FLoginFailuresTimes:Integer;
    FLastLoginTime:String;
    FSiteId:String;
  published
    property PK_Oper_id: string index 0 read FOperId write FOperId;
    property oper_name: string index 1 read FOperName write FOperName;
    property role_id: String index 2 read FRoleId write FRoleId;
    property staff_id: String index 3 read FStaffId write FStaffId;
    property dept_id: string index 4 read FDeptId write FDeptId;
    property pwd: string index 5 read FPwd write FPwd;
    property create_date: string index 6 read FCreateDate write FCreateDate;
    property status: string index 7 read FStatus write FStatus;
    property cre_oper_id: string index 8 read FCreOperId write FCreOperId;
    property login_failures_times: Integer index 9 read FLoginFailuresTimes write FLoginFailuresTimes;
    property last_login_time: string index 10 read FLastLoginTime write FLastLoginTime;
    property site_id: string index 11 read FSiteId write FSiteId;
  public
    constructor Create;
    procedure Reset();
  end;
  
implementation

constructor TOperVO.Create;
begin
  inherited Create;
  tbName := 'sys_oper';
  SetLength(GridInfo, 12);
end;

procedure TOperVO.Reset();
begin
  FOperId:='-999';
  FOperName:='-999';
  FRoleId:='-999';
  FStaffId:='-999';
  FDeptId:='-999';
  FPwd:='-999';
  FCreateDate:='-999';
  FStatus:='-999';
  FCreOperId:='-999';
  FLoginFailuresTimes:=-999;
  FLastLoginTime:='-999';
  FSiteId:='-999';
end;

end.
